<?php
namespace Home\Controller;
use Think\Controller;
class OrderController extends Controller {
    public function index(){
        if(!$_SESSION['users']){
            $this->redirect("/login/index","",0,"登录后下单");
        }else{
            $channel = M("channel")->select();
            $this->assign("channel",$channel);
            $this->redirect("Personage/index/type/order");
        }
    }
    public function _empty(){
        $this->display("Public:404");
    }
}